package com.twb.auth.entity.twbResource.vo;

import java.io.Serializable;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * @ClassName SearchAuthResourceTreeVo
 * @Description /sys/twbResource/searchAuthResourceTree 方法入参
 * @author DSY
 * @date 2020年7月14日 下午2:20:20
 */
@ApiModel(value = "SearchAuthResourceTreeVo", description = "/sys/twbResource/searchAuthResourceTree 方法入参")
public class SearchAuthResourceTreeVo implements Serializable {

	private static final long serialVersionUID = 1L;

	/**
	 * 类型（0，机构；1，角色）
	 */
	@NotNull
	@ApiModelProperty("类型（0，机构；1，角色）")
	private Integer type;

	/**
	 * 资源项目ID
	 */
	@NotBlank
	@ApiModelProperty("资源项目ID")
	private String projectId;

	/**
	 * 被授权业务ID type=0：机构ID type=1：角色ID
	 */
	@NotBlank
	@ApiModelProperty("被授权业务ID（type=0：机构ID；type=1：角色ID）")
	private String bizId;

	/**
	 * 登录用户ID
	 */
	@ApiModelProperty("登录用户ID")
	private String loginUserId;

	/**
	 * 登录用户是否为开发者；true-是，false-否
	 */
	@ApiModelProperty("登录用户是否为开发者；true-是，false-否")
	private String isDeveloper;

	public Integer getType() {
		return type;
	}

	public void setType(Integer type) {
		this.type = type;
	}

	public String getProjectId() {
		return projectId;
	}

	public void setProjectId(String projectId) {
		this.projectId = projectId;
	}

	public String getBizId() {
		return bizId;
	}

	public void setBizId(String bizId) {
		this.bizId = bizId;
	}

	public String getLoginUserId() {
		return loginUserId;
	}

	public void setLoginUserId(String loginUserId) {
		this.loginUserId = loginUserId;
	}

	public String getIsDeveloper() {
		return isDeveloper;
	}

	public void setIsDeveloper(String isDeveloper) {
		this.isDeveloper = isDeveloper;
	}

}
